<?php /* Smarty version 2.6.18, created on 2010-01-28 11:51:24
         compiled from bao_tri_rptcoldef.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Chi tiet Report Online')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td colspan="3" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_rptid']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
	<select name="RPTIDtmp" size="1" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?>disabled="disabled" <?php endif; ?> onchange="document.getElementById('RPTID').value=this.value;">
	  <option value="">&nbsp;</option>
	<?php $_from = $this->_tpl_vars['rptid']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['RPTID'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
	</select><input type="hidden" id="RPTID" name="RPTID" value="<?php echo $this->_tpl_vars['RPTID']; ?>
"/>
    * </span>  </td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_seqno']; ?>
</td>
    <td colspan="3">
	<select name="SEQNO" size="1">
		<?php $_from = $this->_tpl_vars['seqno']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      		<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['SEQNO'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>	
	</select>   </td>	
  </tr>
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_colcode']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
		<input type="text" name="COLCODE" maxlength="10" size="20" value="<?php echo $this->_tpl_vars['COLCODE']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly" <?php endif; ?>/>	* </span> <input id="replacement_find" type="submit" name="find" value="    "  height="15"/>  </td>
    </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_vndesc']; ?>
</td>
    <td colspan="3"><input name="VNDESC" type="text" value="<?php echo $this->_tpl_vars['VNDESC']; ?>
" size="50" maxlength="50"/></td>	 
    </tr>  
	<tr>
		<td nowrap="nowrap">
			<?php echo $this->_tpl_vars['lbl_endesc']; ?>
</td>
		<td colspan="3">
			<input name="ENDESC" type="text" value="<?php echo $this->_tpl_vars['ENDESC']; ?>
" size="50" maxlength="50"/>		</td>	
	</tr>
	<tr>
		<td nowrap="nowrap">
			<?php echo $this->_tpl_vars['lbl_enbl']; ?>
</td>
		<td colspan="3"><select name="ENBL" size="1">		  
		<?php $_from = $this->_tpl_vars['enbl_rptcldef']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>      		
		  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['enbl'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>		  
 		<?php endforeach; endif; unset($_from); ?>			
		  </select>		</td>	
	</tr>
	<tr>
		<td nowrap="nowrap">
			<?php echo $this->_tpl_vars['lbl_coltype']; ?>
		</td>
		<td colspan="3">
		<select id="COLTYPE" name="COLTYPE" size="1" onchange="type_change();">
			<?php $_from = $this->_tpl_vars['ctrl_type']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
     			 <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['COLTYPE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 			<?php endforeach; endif; unset($_from); ?>
		</select>		</td>	
	</tr>
	<tr>
		<td nowrap="nowrap">
			<?php echo $this->_tpl_vars['lbl_sqlstr']; ?>
		</td>
		<td colspan="3">
			<input type="text" id="SQLSTR" name="SQLSTR" maxlength="200" size="50" value="<?php echo $this->_tpl_vars['SQLSTR']; ?>
"/>		</td>	
	</tr>
    </tr>
  <tr>
<td colspan="4"><p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'RPTID');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td colspan="3" align="right" nowrap="nowrap">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>